class Asker {
	public void selamVer() {
		System.out.println("Asker Selam verdi");
	}

	public void hazirOl() {

	}
}

class Er extends Asker {
	public void selamVer() {
		System.out.println("Er Selam verdi");
	}

	public void rahat() {

	}
}

class Yuzbasi extends Asker {
	public void selamVer() {
		System.out.println("Yuzbasi Selam verdi");
	}

	public void rahat2() {

	}
}

public class PolimorfizmOrnekBir {

	public static void hazirOl(Asker a) {

	}

	public static void main(String args[]) {
		Asker a = new Asker();
		Er e = new Er();
		Yuzbasi y = new Yuzbasi();
		hazirOl(a);
		hazirOl(e);
		hazirOl(y);
	}
}
